#!/bin/bash
echo "正在启动多项式拟合工具..."
python3 main.py
if [ $? -ne 0 ]; then
    echo "启动失败，请确保已安装所需依赖。"
    echo "安装依赖请运行：pip install -r requirements.txt"
    read -p "按回车键继续..."
fi 